package com.example.flower_shop.vo.article;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(description = "用户文章分页返回对象")
public class UsrArtPageResp {
    //文章id
    @Schema(description = "文章id")
    private Long id;
    //文章封面图片url
    @Schema(description = "文章封面图片url")
    private String imageInput;
    //文章标题
    @Schema(description = "标题")
    private String title;
    //文章作者
    @Schema(description = "作者")
    private String author;
    @Schema(description = "作者头像")
    private String authorAvatar;
    @Schema(description = "简介")
    private String synopsis;
    //创建时间
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
}
